﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using CMN.Models;
using CMN.Models.Interfaces;
using CMN.Entity;
using CMN.Controllers;
using CMN.Controllers.Filters;
using CMN.Common;
using System.Text;
using CMN.UI;
using CMN.Framework;
namespace CMN.Controllers
{
    [UserAuthorize]
    [LoggerFilter()]
    [ExceptionFilter()]
    [ExecutionTimingAttribute()]
    public class DownController : Controller
    {
        [CompressFilter]
        [CacheFilterAttribute]
        public string Index(int id)
        {
            PageHelperEntity pageHelper = new PageHelperEntity();
            pageHelper.Title = "下载";
            pageHelper.ContentId = id;
            pageHelper.ChannelId = 0;
            pageHelper.Type = PageType.OtherPage;
            pageHelper.OtherTypeName = "down";
            BaseTemplateDisplay articleTemplate = new BaseTemplateDisplay(pageHelper);
            string strRetrun = articleTemplate.Display();
            articleTemplate.Dispose();
            return strRetrun;


        }



        
    }
}
